<?php if(!defined('IN_FANWE')) exit('Access Denied'); if($_FANWE['uid'] > 0) { ?>
<div class="user_info">
<div class="ui_user down_link" rel="ui_user"><a href="<?php echo FU('u/me',array()); ?>"><img src="<?php echo setTplAvatarFormat($_FANWE['user']['avatar'],'s');?>" height="20"><span><?php echo cutStr($_FANWE['user_name'],10,'...');?><small class="down">&nbsp;</small></span></a></div>
<div class="message down_link" rel="message"><a href="javascript:;"><?php if($_FANWE['user_notice']['all'] > 0) { ?><span>消息(<?php echo $_FANWE['user_notice']['all'];?>)<small class="h">&nbsp;</small></span><?php } else { ?><span>消息<small class="down">&nbsp;</small></span><?php } ?></a></div>
<dl class="down_dl" rel="ui_user" type="center" minwidth="90">
<dd><a href="<?php echo FU('u/album',array()); ?>">我的杂志</a></dd>
<dd><a href="<?php echo FU('u/fav',array("uid"=>$_FANWE['uid'])); ?>">我喜欢的</a></dd>
<dd><a href="<?php echo FU('invite',array()); ?>" target="_blank">邀请朋友</a></dd>
<dd><a href="<?php echo FU('settings/personal',array()); ?>">设置账号</a></dd>
<dd><a href="<?php echo FU('user/logout',array()); ?>">退出</a></dd>
</dl>
<dl class="down_dl" rel="message" type="left">
<dd><a href="<?php echo FU('u/talk',array("uid"=>$_FANWE['uid'])); ?>">我发表的</a></dd>
<dd><a href="<?php echo FU('u/comments',array("uid"=>$_FANWE['uid'])); ?>">评论我的<?php if($_FANWE['user_notice']['3'] >0) { ?><span>(<?php echo $_FANWE['user_notice']['3'];?>)</span><?php } ?></a></dd>
<dd><a href="<?php echo FU('u/fans',array("uid"=>$_FANWE['uid'])); ?>">关注我的<?php if($_FANWE['user_notice']['1'] >0) { ?><span>(<?php echo $_FANWE['user_notice']['1'];?>)</span><?php } ?></a></dd>
<dd><a href="<?php echo FU('u/atme',array("uid"=>$_FANWE['uid'])); ?>">提到我的<?php if($_FANWE['user_notice']['4'] >0) { ?><span>(<?php echo $_FANWE['user_notice']['4'];?>)</span><?php } ?></a></dd>
<dd><a href="<?php echo FU('u/atme',array("uid"=>$_FANWE['uid'],"type"=>"faved")); ?>">喜欢我的<?php if($_FANWE['user_notice']['2'] >0) { ?><span>(<?php echo $_FANWE['user_notice']['2'];?>)</span><?php } ?></a></dd>
<dd><a href="<?php echo FU('u/message',array("uid"=>$_FANWE['uid'])); ?>">我的信件<?php if($_FANWE['user_notice']['5'] >0) { ?><span>(<?php echo $_FANWE['user_notice']['5'];?>)</span><?php } ?></a></dd>
<dd><a href="<?php echo FU('u/notic',array("uid"=>$_FANWE['uid'])); ?>">我的通知<?php if($_FANWE['user_notice']['6'] >0) { ?><span>(<?php echo $_FANWE['user_notice']['6'];?>)</span><?php } ?></a></dd>
<dd><a href="<?php echo FU('u/sysmsg',array("uid"=>$_FANWE['uid'])); ?>">系统消息<?php if($_FANWE['user_notice']['7'] >0) { ?><span>(<?php echo $_FANWE['user_notice']['7'];?>)</span><?php } ?></a></dd>
</dl>
</div>
<div class="fast_share"><a href="javascript:;" onclick="$.Fast_Share();">分享</a></div>
<?php } else { ?>
<div class="user_info">
<a href="<?php echo FU('user/login',array()); ?>">登陆</a><span>&nbsp;&nbsp;|&nbsp;&nbsp;</span><a href="<?php echo FU('user/register',array()); ?>">注册</a>
</div>
<?php } ?>